﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;

namespace TeamFoundation.EventBus.Client.Events
{
    public partial class CheckinEvent : ITfsTranslatable
    {
        public object Translate(TeamFoundationServer server)
        {
            VersionControlServer vcs = server.GetService<VersionControlServer>();
            return vcs.GetChangeset(this.Number, true, true);
        }

    }
}
